package com.yc.study.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MenuVo {
  @ApiModelProperty("id")
  private Long id;

  @ApiModelProperty("菜单名")
  private String name;

  @ApiModelProperty("父菜单id")
  private Long parentId;

  @ApiModelProperty("菜单url")
  private String url;

  @ApiModelProperty("子菜单")
  private List<MenuVo> childMenus;
}
